<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <body>
        <p:panel header="Yeni Grup Oluştur">
            <h:panelGrid columns="2">
                <h:outputLabel value="Grup Adı"/>
                <p:inputText value="#{CommunityBean.communityName}" rows="1" size="30"/> 
                <h:outputLabel value="Açıklama"/>           
                <p:inputText value="#{CommunityBean.firstAnnouncement}"  rows="5" cols="33" />    
                <br/>
                <p:commandButton value="Yeni Grubu Oluştur" action="#{CommunityBean.createCommunity()}"  ajax="false" style="margin-left:123px ">
                   
                </p:commandButton>
            
            </h:panelGrid> 
        </p:panel>
    </body>
</html>
